<template>
	<view>
		<button type="default" @click="clickRequest()">点击发送请求</button>
	</view>
</template>

<script>
	export default {
		data() {
			return {
			}
		},
		methods: {
			clickRequest() {
				uni.request({
					url: "https://gitee.com/yl-yue/yue-library/contributors_count?ref=master"
				}).then((res) => {
					console.log('uni.request success',res);
				})
			}
		}
	}
</script>

<style>
</style>
